/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.money.biz;

import com.money.entity.Article;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author Eason
 */
public interface ArticleBiz<T> {
    
    public boolean addArticle(T entity) throws DataAccessException;
    
        
    public boolean editArticle(T entity) throws DataAccessException;
    
    public boolean removeArticle(int id) throws DataAccessException;
    
    public List getAllArticle() throws DataAccessException;
}
